<template>
  <view class="wrap">

  </view>
</template>

<script>

export default {
  data() {
    return {


    }
  },
  created(){
    console.log('位置名称：' );
    uni.chooseLocation({
      success: function (res) {
        console.log('位置名称：' + res.name);
        console.log('详细地址：' + res.address);
        console.log('纬度：' + res.latitude);
        console.log('经度：' + res.longitude);
        this.latitude = res.latitude
        this.longitude = res.longitude
      }
    });

  },
  methods: {



  }
}
</script>

<style>

</style>
